package com.qianhui.orderapi.haiguan;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "ResponseMessage")
@XmlType(name = "ResponseMessage", propOrder = {"responseHead", "responseBodyList"})
public class ResponseMessage
{
    private ResponseHead ResponseHead;
    private ResponseBodyList ResponseBodyList;

    public ResponseMessage()
    {
        super();
        // TODO Auto-generated constructor stub
    }

    public ResponseMessage(ResponseHead responseHead, ResponseBodyList responseBodyList)
    {
        super();
        ResponseHead = responseHead;
        ResponseBodyList = responseBodyList;
    }

    @XmlElement(name = "ResponseHead")
    public ResponseHead getResponseHead()
    {
        return ResponseHead;
    }

    public void setResponseHead(ResponseHead responseHead)
    {
        ResponseHead = responseHead;
    }

    @XmlElement(name = "ResponseBodyList")
    public ResponseBodyList getResponseBodyList()
    {
        return ResponseBodyList;
    }

    public void setResponseBodyList(ResponseBodyList responseBodyList)
    {
        ResponseBodyList = responseBodyList;
    }

    @Override
    public String toString()
    {
        return "ResponseMessage [ResponseHead=" + ResponseHead + ", ResponseBodyList=" + ResponseBodyList + "]";
    }

}
